﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DiscoveryLogic.Workflows.Components.Markov.MaxEnt
{
    /// <summary>
    /// Event arguments class for training progress events.
    /// </summary>
    public class TrainingProgressEventArgs : EventArgs
    {
        private string mMessage;

        /// <summary>
        /// Constructor for the training progress event arguments.
        /// </summary>
        /// <param name="message">
        /// Information message about the progress of training.
        /// </param>
        public TrainingProgressEventArgs(string message)
        {
            mMessage = message;
        }

        /// <summary>
        /// Information message about the progress of training.
        /// </summary>
        public string Message
        {
            get
            {
                return mMessage;
            }
        }
    }

    /// <summary>
    /// Event handler delegate for the training progress event.
    /// </summary>
    public delegate void TrainingProgressEventHandler(object sender, TrainingProgressEventArgs e);

}
